﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Mozhi.Abp.Core.Offices.Excels
{
    public class ExcelDocument
    {
        public string FileName { set; get; }

        public FileType FileType {  set; get; }

        public List<ExcelSheet> Sheets { set; get; }
    }


    public class ExcelSheet
    {
        public string SheetName { set; get; }

        public List<ExcelSheetColumn> Columns { set; get; } 

        public List<ExcelSheetRow> Rows { set; get; }
    }


    public class ExcelSheetColumn
    {
        public string Caption { set; get; }

        public string Field {  set; get; }

        public bool IsHidden {  set; get; }

        public bool IsRequired {  set; get; }

        public int Width {  set; get; }
    }


    public class ExcelSheetRow
    {
         public List<ExcelSheetCell> Cells { set; get; }
    }


    public class ExcelSheetCell
    {
        public string Value { set; get; }

        public CellValueType ValueType { set; get; }
    }

}
